package com.msb.entity;

import sun.management.counter.Units;

import java.io.Serializable;

/**
 * @version : 1.0
 * @Author: yangmingsong
 * @Date: 2021/2/3-02-03-10:36
 * @Description: demon
 */
public class Cpi implements Serializable {
    private int fruitId;
    private String dataType;
    private String area;
    private String date;
    private String goodsName;
    private double price;
    private String unit;
    private String remark;

    public Cpi() {
    }

    public Cpi(int fruitId, String dataType, String area, String date, String goodsName, double price, String unit, String remark) {
        this.fruitId = fruitId;
        this.dataType = dataType;
        this.area = area;
        this.date = date;
        this.goodsName = goodsName;
        this.price = price;
        this.unit = unit;
        this.remark = remark;
    }

    public int getFruitId() {
        return fruitId;
    }

    public void setFruitId(int fruitId) {
        this.fruitId = fruitId;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Cpi{" +
                "fruitId=" + fruitId +
                ", dataType='" + dataType + '\'' +
                ", area='" + area + '\'' +
                ", date='" + date + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", price=" + price +
                ", uint='" + unit + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
